import { Component, ReactNode } from "react";


// 1. 事件
// 2. 表单
// 3. 生命周期
// 4. axios
export default class App extends Component {
    state={
        list:[
            [1,2,3],
            [4,5,6],
            [7,8,9]
        ]
    }
  render(): ReactNode {
    let str =this.state.list.map((item,index)=>{ 
        return <>
        <div key={index+1000}>
                {item.map((item,index)=>{
                    return <p key={index}>{item}</p>
                })}
            </div>
        </>
    })
    return (
      <>
        <h1>Hello World</h1>
        {str}
      </>
    );
  }
}
